<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<htmL>
 <head>
  <title>Checking that handheld is not selected when it is not mentioned in the main document (Handheld devices only)</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/media/handheld/045.html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS2/media.html#media-sheets" />
  <link rel="stylesheet" href="http://software.hixie.ch/utilities/cgi/test-tools/delayed-file?pause=1&mime=text%2Fcss&text=%40media+screen+%7B%0D%0A++.test+%7B+display%3A+none%3B+%7D%0D%0A%7D&cache=046+a">
  <style type="text/css" media="screen">
   p { display: none; }
   @media handheld {
     .test { display: block; border: thick double red; padding: 0.5em; background: maroon; color: yellow; font: 900 2em sons-serif; }
   }
  </style>
 </head>
 <body>
  <p> This page should default to SSR. Switch to author mode to run the test. </p>
  <div>This test has pa<span class="test">The test has FAILED.</span>ssed. </div>
 </body>
</html>
